package com.nh.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * NgNewsInfoContentHtml entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ng_news_info_content_picture")
public class NgNewsInfoContentPicture extends BaseEntity {

	private Long newsInfoId;
	private Timestamp createTime;
	private Integer pictureSize;
	private String pictureTitle;
	private String pictureAddress;
	private String description;

	/**
	 * @return the newsInfoId
	 */
	public Long getNewsInfoId() {
		return newsInfoId;
	}

	/**
	 * @param newsInfoId
	 *            the newsInfoId to set
	 */
	public void setNewsInfoId(Long newsInfoId) {
		this.newsInfoId = newsInfoId;
	}

	/**
	 * @return the createTime
	 */
	@Column(name = "create_time")
	public Timestamp getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 *            the createTime to set
	 */
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the pictureSize
	 */
	@Column(name = "picture_size")
	public Integer getPictureSize() {
		return pictureSize;
	}

	/**
	 * @param pictureSize
	 *            the pictureSize to set
	 */
	public void setPictureSize(Integer pictureSize) {
		this.pictureSize = pictureSize;
	}

	/**
	 * @return the pictureTitle
	 */
	@Column(name = "picture_title")
	public String getPictureTitle() {
		return pictureTitle;
	}

	/**
	 * @param pictureTitle
	 *            the pictureTitle to set
	 */
	public void setPictureTitle(String pictureTitle) {
		this.pictureTitle = pictureTitle;
	}

	/**
	 * @return the pictureAddress
	 */
	@Column(name = "picture_address",columnDefinition = "TEXT NOT NULL")
	public String getPictureAddress() {
		return pictureAddress;
	}

	/**
	 * @param pictureAddress
	 *            the pictureAddress to set
	 */
	public void setPictureAddress(String pictureAddress) {
		this.pictureAddress = pictureAddress;
	}
	/**
	 * @return the description
	 */
	@Column(name = "description",columnDefinition = "TEXT")
	public String getDescription() {
		return description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

}